﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SArenaPlayerRank extends Object
    {
        public var entityId:SEntityId;
        public var count:int;
        public var score:int;
        public var rank:int;
        public var crossrank:int;

        public function SArenaPlayerRank()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            this.entityId.__write(param1);
            param1.writeInt(this.count);
            param1.writeInt(this.score);
            param1.writeInt(this.rank);
            param1.writeInt(this.crossrank);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.entityId = new SEntityId();
            this.entityId.__read(param1);
            this.count = param1.readInt();
            this.score = param1.readInt();
            this.rank = param1.readInt();
            this.crossrank = param1.readInt();
            return;
        }// end function

    }
}
